import { getDevice } from 'utils/getDevice'

import { error } from 'model/user'

export default function device (store) {
  const {
    webView
  } = getDevice()

  if (!webView) {
    // store.dispatch(error('当前运行环境错误,只能在webview中运行'))
  }
}
